package me.ezitku.shttp;

import java.util.ArrayList;
import java.util.HashMap;

import okhttp3.Interceptor;
import retrofit2.CallAdapter;
import retrofit2.Converter;

/**
 * Created by yurqi on 2018/2/5.
 * QQ: 906120575 | Wechat : kalip008
 * Tashkin Company
 */

public class SHttpBuilder {
    public HashMap<String, Object> headers = new HashMap<>();
    public ArrayList<Interceptor> interceptors = new ArrayList<>();
    public ArrayList<Converter.Factory> converterFactorys = new ArrayList<>();
    public ArrayList<CallAdapter.Factory> callAdapterFactorys = new ArrayList<>();
    public boolean retryOnConnectionFailure = true;
    public boolean isShowHttpLogger = false;
    /**
     * 毫秒 [millisecound]
     */
    public long connectTimeout = 20;
}
